package com.dayuanit.dy17.library.mapper;

import com.dayuanit.dy17.library.entity.Book;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface BookMapper {

    List<Book> listBook(@Param("bookName") String bookName,
                        @Param("authorName") String authorName,
                        @Param("pressName") String pressName);

    int modifyAuthorName(@Param("oldName") String oldName, @Param("newName") String newName);
}
